// users模型，包含一下字段
const mongoose = require('mongoose');
const Schema = mongoose.Schema

const LoginScheam = new Schema({
  uid: {
    type: String
  },
  email: {
    type: String,
    required: true
  },
  password: {
    type: String,
    required: true
  }
})

module.exports = {
  Login: mongoose.model('users', LoginScheam)
}